package com.zyz.B_流程控制.循环结构_do_while;

/**
 * @author: vick
 * @Date: 2025/3/11
 * @Description:
 * @version: 1.0
 */
public class Demo2 {
    public static void main(String[] args) {
        int i = 10;
        do {

            System.out.println("来了");
            i--;
        }while (i > 10);


        int n = 10;
        while (n > 10) {
            System.out.println("来了");
            n--;
        }
    }
}
